package org.chenjian.portal80.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.chenjian.portal80.model.TheCar;

import java.util.List;

@Mapper
public interface CarDao {

    @Select("select cid,cname,cprice,ccolor,cdesc," +
            "cimporttime,ctype,cpos,cvin,cstatus,cmile from thecar;")
    List<TheCar> getAllCar();
}
